package com.youdoneed.user.publicservice;

import com.youdoneed.base.pagination.Page;
import com.youdoneed.base.pagination.Paging;
import com.youdoneed.user.model.Location;
import com.youdoneed.user.model.Nation;

import java.util.List;

/**
 * 公共服务接口。
 */
public interface PublicService {
    Page<Nation> getNations(Paging paging);

    List<Location> subLocations(String parentId);
}
